package com.twu.biblioteca;

public class Book implements Borrowable {

    private String id;
    private String name ;
    private String author;
    private String yearPublished;
    private String borrowerID;

    public Book(String id, String name, String author, String yearPublished) {
        this.id = id;
        this.name = name;
        this.author = author;
        this.yearPublished = yearPublished;
        borrowerID = "";
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getYearPublished() {
        return yearPublished;
    }

    public void setYearPublished(String yearPublished) {
        this.yearPublished = yearPublished;
    }

    @Override
    public void setBorrowerID(String borrowerID) {
        this.borrowerID = borrowerID;
    }

    @Override
    public String getBorrowerID() {
        return borrowerID;
    }

}
